package com.chenjie.crud.enums;

import lombok.Getter;

@Getter
public enum DeleteFlagEnum {
    TRUE(true,"1","不删除"),
    FALSE(false,"2","删除"),
    ;

    // 响应是否成功
    private Boolean success;
    // 响应状态码
    private String code;
    // 响应信息
    private String message;

    DeleteFlagEnum(boolean success, String code, String message) {
        this.success = success;
        this.code = code;
        this.message = message;
    }
}